package com.hanxu.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.hanxu.common.utils.PageUtils;
import com.hanxu.mallproduct.entity.SpuInfoDescEntity;
import com.hanxu.mallproduct.entity.SpuInfoEntity;
import com.hanxu.mallproduct.vo.SpuSaveVo;

import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * spu信息
 *
 * @author hanxu
 * @email hanxu@gmail.com
 * @date 2025-03-16 20:27:36
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params) throws UnsupportedEncodingException;

    void up(Long spuId) throws JsonProcessingException;
}

